<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>主页面</title>
</head>
<body>
<form id="registForm" method="post" action="DispatcherServlet/test/regist">
	<table>
		<thead><font size="5">用户注册</font></thead>
		<tr height="20">
			<td colspan="4"></td>
		</tr>
		<tr>
			<td>用户名:</td>
			<td><input id="username" type="text" name="username"/></td>
		</tr>
		<tr height="10">
			<td colspan="4"></td>
		</tr>
		<tr>
			<td>密码:</td>
			<td><input id="password" type="password" name="password"/></td>
		</tr>
		<tr height="10">
			<td colspan="4"></td>
		</tr>
		<tr height="10">
			<td colspan="4"></td>
		</tr>
		<tr>
			<td>
				<input type="submit" name="submit" value="登录" />
			</td>
			<td>
				<input type="button" value="注册" onclick="javascrtpt:window.location.href='regist.jsp'"></input>
			</td>
		</tr>
	</table>
	</form>
</body>
</html>